package com.xdcplus.web.common.constants;

/**
 * @author Zhecheng.Ren
 * @since 2023/8/8 10:20
 */
public class BusinessMessagePostConstants {

    /**
     * 班次信息
     */
    public static class ShiftInfo {
        public static final String START_TIME_KEY = "startTime";
        public static final String END_TIME_KEY = "endTime";
        public static final String SHIFT_NAME = "shiftName";
        public static final String SHIFT_CODE = "shiftCode";
        public static final String SHIFT_TYPE = "shiftType";
        public static final String SHIFT_DATE = "shiftDate";
    }

    /**
     * 基础参数推送岗位CATE
     */
    public static class PostPositionCode {
        //原材料领用单信息推送岗位列表
        public static final String SHIFT_CLAIM_CODE = "SHIFT_CLAIM_CODE";
        // 现场班次用料信息推送岗位列表
        public static final String SHIFT_DEPLETE_CODE = "SHIFT_DEPLETE_CODE";
        // 领料单入线边库推送岗位列表
        public static final String PM_STOCK_CODE = "PM_STOCK_CODE";

        public static final String SHIFT_REWORK_CODE = "SHIFT_REWORK_CODE";
        // HAML机批次切换推送岗位列表
        public static final String HALM_CHANGE_CODE = "HALM_CHANGE_CODE";
        // 返工花篮首站到达推送岗位列表
        public static final String RE_BOX_FIRST_CODE = "RE_BOX_FIRST_CODE";
    }

    /**
     * ETL执行器handler命名
     */
    public static class PostHandlerName {
        //原材料领用单信息执行器
        public static final String SHIFT_CLAIM_HANDLER = "ShiftClaimHandler";
        // 现场班次用料信息执行器
        public static final String SHIFT_DEPLETE_HANDLER = "ShiftDepleteHandler";
        public static final String SHIFT_REWORK_HANDLER = "ShiftReworkHandler";
        // HAML机批次切换检测执行器
        public static final String HALM_CHANGE_HANDLER = "HalmChangeHandler";
        // 返工花篮首站到达检测执行器
        public static final String RE_BOX_FIRST_ARRIVE_HANDLER = "ReBoxFirstArriveHandler";
    }

}
